net/http.Header.has (method)

6 uses

	net/http (current package)
		header.go#L72: func (h Header) has(key string) bool {
		request.go#L668: 	if r.Header.has("User-Agent") {
		request.go#L1449: 		if r.Header.has("Idempotency-Key") || r.Header.has("X-Idempotency-Key") {
		server.go#L1323: 	if w.handlerDone.Load() && !trailers && !hasTE && bodyAllowedForStatus(w.status) && !header.has("Content-Length") && (!isHEAD || len(p) > 0) {
		server.go#L1449: 	if !header.has("Date") {